﻿using NPOI.POIFS.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.medical
{
    /// <summary>
    /// 用药实体类
    /// </summary>
    public class MedicationModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 药品名称
        /// </summary>
        public string? MedicalName { get; set; }
        /// <summary>
        /// 科室Id
        /// </summary>
        public int DepartId { get; set; }
        /// <summary>
        /// 用药日期
        /// </summary>
        public DateTime Medicatime { get; set; }
        /// <summary>
        /// 病人姓名
        /// </summary>
        public string? patientName { get; set; }
        /// <summary>
        ///病人号码
        /// </summary>
        public string? patientNumber { get; set; }
        /// <summary>
        /// 用药状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 配药医生
        /// </summary>
        public string? Dispensingdoctors { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Createdtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Updatedtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
    }
}
